package com.bawan.vims.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * 
 * <p> Title        : EmployeeInfo.java </p>
 * <p> Description	: EmployeeInfo.java </p>
 * <p> Copyright	: Copyright (c) 2015 by FITT</p>
 * <p> Author 		: JOCHEN ZHENG </p>
 * <p> Create		: 2015-1-5 11:31:52 </p> 
 * <p> version 		: 1.0 </p>
 */
@Entity
@Table(name = "vims_employee_info")
public class EmployeeInfo implements Serializable {
	private static final long serialVersionUID = -1914966130075518526L;
	@Id
	@Column(name = "employee_id")
    private String employeeId;
	
	@Column(name = "nick_name")
    private String nickName;
	
	@Column(name = "real_name")
    private String realName;
    private String password;
    private Integer popedom;
    
    @Column(name = "add_employee_id")
    private Integer addEmployeeId;
    private int sex;
    private int age;
    
    @Column(name = "add_date")
    private String addDate;
    
    @Column(name = "mobile_phone")
    private String mobilePhone;
    private String email;
    private String weixin;
    
    public EmployeeInfo() {} 
    
	public String getEmployeeId() {
		return employeeId;
	}
	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getPopedom() {
		return popedom;
	}
	public void setPopedom(Integer popedom) {
		this.popedom = popedom;
	}
	public Integer getAddEmployeeId() {
		return addEmployeeId;
	}
	public void setAddEmployeeId(Integer addEmployeeId) {
		this.addEmployeeId = addEmployeeId;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getAddDate() {
		return addDate;
	}
	public void setAddDate(String addDate) {
		this.addDate = addDate;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getWeixin() {
		return weixin;
	}
	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
